// c_sdk.h
#ifndef C_SDK_H
#define C_SDK_H

#ifdef __cplusplus
extern "C" {
#endif

// C风格接口，避免C++名称修饰问题
typedef void* SdkHandle;

SdkHandle create_sdk();
void destroy_sdk(SdkHandle handle);
int initialize_sdk(SdkHandle handle, const char* config);
int process_data(SdkHandle handle, int data);
const char* get_result(SdkHandle handle);

#ifdef __cplusplus
}
#endif

#endif